package IO;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

/**
 * Created by Xiang on 2014/8/18.
 */
public class FilePrint {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter out = new PrintWriter("test.txt");
        String name = "Harry";
        double salary = 1000;
        out.print(name);
        out.print(" ");
        out.print(salary);
        out.flush();
        out.close();


    }
}
